import { type RouteRecordRaw, RouterView } from 'vue-router';

import TransMng from './views/TransMng.vue';

const routes: RouteRecordRaw[] = [
  {
    path: 'trans',
    component: RouterView,
    children: [
      {
        path: '',
        name: 'TransMng',
        component: TransMng,
        meta: {
          roles: ['admin'],
          title: '订单转移',
          requiresAuth: true,
        },
      },
    ],
  },
];

export default routes;
